import static org.junit.Assert.*;

import java.sql.Connection;
import java.sql.Statement;

import org.junit.Test;

import dao.newDB;


public class JUnit {
	
	@Test
	public void testKOneksi() {
		newDB teskonek = new newDB();
		assertEquals("Koneksi", 1, teskonek.dbOpen());
	}
	
	@Test
	public void testDelete() {
		newDB testkonek = new newDB();
		assertEquals("Hapus", 0, testkonek.deleteContent("ahmad"));
	}
	
}
